package com.hancai.service;

import java.util.concurrent.TimeUnit;

/**
 * @author 涵菜
 * @version 1.0
 */
public interface RedisService {
    void setValue(String key,Object value);
    Object getValue(String key);
    Boolean removeValue(String key);
    Boolean expire(String key, Long timeOut, TimeUnit timeUnit);
}
